package com.east.spark.parttern.facade;

/**
 * @author Administrator 门面模式
 */
public class Client {

	public static void main(String[] args) {
		Cook cook = new CookImpl();

		Nanny nanny = new Nanny(cook);

		nanny.cook("大白菜");

	}

}
